<p class="Paragraph">Use the <span class="T1">GoTo</span> statement to instruct OpenOffice.org Basic to continue program execution at another place within the procedure. The position must be indicated by a label. To set a label, assign a name and end it with a colon (":").</p>
<p class="TextInTable"><span class="T1">GoTo</span> is a relict of BASIC dialects which is retained only for compatibility reasons. If you often use GoTo, your program will tend to become unreadable. For this reason, it is preferable to use Sub procedures, with exception of <span class="T1">On...GoTo</span> and <span class="T1">On Error GoTo</span>.</p>